Monnit Mine Java
ContentsIndexHome
PreviousUpNext
BitConverter.toLongFromFourBytes Method
Syntax
Pascal
C++
Java
PHP
function toLongFromFourBytes(bytes: byte[]; index: Integer): long;

public static int toUInt32(byte[] bytes, int index) throws Exception { byte[] array = Arrays.copyOfRange(bytes, index, index + 4); ByteBuffer b = ByteBuffer.wrap(array); 

return b.getChar();

Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!